package com.neutech.solar.entity;

import com.neutech.solar.util.ImageUtil;

import java.awt.*;

public class Background extends AbstractSolarSystemObject{
    public Background(){}
    public Background(String imageName){
        this.x = 0;
        this.y = 0;
        this.img = ImageUtil.getImage(imageName);
    }

    @Override
    public void draw(Graphics g) {
        g.drawImage(img,x,y,null);

    }

    @Override
    public void move() {

    }
}
